


    <?php foreach ($langs as $lang) :?>
        <tr>
            <td>
                <input type="checkbox" name="ch_lang" value="<?=$lang['id'] ?>">
            </td>

            <td>
                <?= $lang['name']?>
            </td>
            <td>
                <?= $lang['shorthand']?>
            </td>
            <td>
                <div class="col-sm-10">
                    <label class="checkbox-inline" >
                        <input type="radio" value="<?= AppConstants::LANG_PERMISSION_READ_ONLY ?>" name="permission_<?= $lang['id']?>" checked  >只读</label>

                    <label class="checkbox-inline">
                        <input type="radio" value="<?= AppConstants::LANG_LANG_PERMISSION_READ_WRITE ?>" name="permission_<?= $lang['id']?>" checked>读写</label>

                </div>
            </td>
        </tr>


    <?php endforeach;?>
